package com.zillion.employee.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;

public class UnitReserve {
    private String unitName;
    private String socialCreditCode;
    private Integer parkId;
    private Integer isUnit;
    private Integer auditStatus;
    private List<PersonReserve> reservePersons;

    private Integer reserveHospital;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date reserveDate;
    private String reserveHour;

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public String getSocialCreditCode() {
        return socialCreditCode;
    }

    public void setSocialCreditCode(String socialCreditCode) {
        this.socialCreditCode = socialCreditCode;
    }

    public Integer getParkId() {
        return parkId;
    }

    public void setParkId(Integer parkId) {
        this.parkId = parkId;
    }

    public Integer getIsUnit() {
        return isUnit;
    }

    public void setIsUnit(Integer isUnit) {
        this.isUnit = isUnit;
    }

    public Integer getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(Integer auditStatus) {
        this.auditStatus = auditStatus;
    }

    public List<PersonReserve> getReservePersons() {
        return reservePersons;
    }

    public void setReservePersons(List<PersonReserve> reservePersons) {
        this.reservePersons = reservePersons;
    }

    public Integer getReserveHospital() {
        return reserveHospital;
    }

    public void setReserveHospital(Integer reserveHospital) {
        this.reserveHospital = reserveHospital;
    }

    public Date getReserveDate() {
        return reserveDate;
    }

    public void setReserveDate(Date reserveDate) {
        this.reserveDate = reserveDate;
    }

    public String getReserveHour() {
        return reserveHour;
    }

    public void setReserveHour(String reserveHour) {
        this.reserveHour = reserveHour;
    }

    @Override
    public String toString() {
        return "UnitReserve{" +
                "unitName='" + unitName + '\'' +
                ", socialCreditCode='" + socialCreditCode + '\'' +
                ", parkId=" + parkId +
                ", isUnit=" + isUnit +
                ", auditStatus=" + auditStatus +
                ", reservePersons=" + reservePersons +
                ", reserveHospital=" + reserveHospital +
                ", reserveDate=" + reserveDate +
                ", reserveHour='" + reserveHour + '\'' +
                '}';
    }
}
